{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>积分列表</strong></li>
	</ol>
</div>
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('search')}">
        <div class="row" style="padding-left: 12px;"> 
			商家名称 <input type="text" id="nickname" name="nickname" value="" placeholder="请输入商家名称" class="blank" />
 			添加时间 <input type="text" id='createtime' name='createtime'   onclick='WdatePicker()'  placeholder="开始时间" class="blank" />
            <input type="text" id='end_time' name='end_time'   onclick='WdatePicker()'  placeholder="结束时间" class="blank" />
          	<input type='hidden' name="end_time"  value="2017-4-1" >				
			<span class="blank" style="border-radius:0px;border:1px;"><button type="submit" class="btn btn-sm btn-primary"><li class="fa fa-search"> 查询</li></button> </span>
        </div>
        </form>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                                <th >商家名称</th>
                                <th >信息</th>
                                <th >积分</th>
                                <th >时间</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list1" id='ad'}
                        	<tr>
                        		<td>{$ad.nick_name}</td>
                        		<td>{$ad.message}</td>
                        		<td>{$ad.score}</td>
                        		<td>{$ad.add_time}</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                   
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
</script>
<style>
.blank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}